package com.DHH.Mapper.Public;

import com.DHH.Dto.VisibleArea;
import com.DHH.Entity.Device.Device;
import com.DHH.Entity.Device.DeviceArea;

import java.util.List;

public interface MapMapper {
    /**
     * 获取地图可视区域内所有车辆
     * @param visibleArea
     * @return
     */
   public  List<Device> selectDevice(VisibleArea visibleArea);

    /**
     * 获取地图内可视区域的停车
     * @param visibleArea
     * @return
     */
   public List<DeviceArea> selectDeeviceArea(VisibleArea visibleArea);

    /**
     * 获取某设备信息
     * @param id
     * @return
     */
   public Device selectDeviceId(Integer id);
}
